<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="../head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>拍拍后台管理系统</title>
<link rel="stylesheet" href="css/common.css" type="text/css" />
</head>
<script  type="text/javascript">
var preClassName = "man_nav_1";
function list_sub_nav(Id,sortname){
   if(preClassName != ""){
      getObject(preClassName).className="bg_image";
   }
   if(getObject(Id).className == "bg_image"){
      getObject(Id).className="bg_image_onclick";
      preClassName = Id;
	  showInnerText(Id);
	  window.top.frames['leftFrame'].outlookbar.getbytitle(sortname);
	  window.top.frames['leftFrame'].outlookbar.getdefaultnav(sortname);
   }
}

function showInnerText(Id){
    var switchId = parseInt(Id.substring(8));
	var showText = "对不起没有信息！";
	switch(switchId){
	    case 1:
		   showText =  "欢迎使用拍到了吗（www.aaaaa.com）后台管理系统!";
		   break;
	    case 2:
		   showText =  "基本设置";
		   break;s
	    case 3:
		   showText =  "User Mansage";
		   break;		   
	    case 4:
		   showText =  "Chanage Manage";
		   break;	
	    case 5:
		   showText =  "Ad AND news!";
		   break;		   		   
	}
	getObject('show_text').innerHTML = showText;
}
 //获取对象属性兼容方法
 function getObject(objectId) {
    if(document.getElementById && document.getElementById(objectId)) {
	// W3C DOM
	return document.getElementById(objectId);
    } else if (document.all && document.all(objectId)) {
	// MSIE 4 DOM
	return document.all(objectId);
    } else if (document.layers && document.layers[objectId]) {
	// NN 4 DOM.. note: this won't find nested layers
	return document.layers[objectId];
    } else {
	return false;
    }
}
</script>
<body>
<div id="nav">
    <ul>	
			<li id="man_nav_1" onclick="list_sub_nav(id,'<bbsh:BBSH name="管理首页"/>')"  class="bg_image_onclick"><bbsh:BBSH name="管理首页"/></li>
			<li id="man_nav_2" onclick="list_sub_nav(id,'<bbsh:BBSH name="基本设置"/>')"  class="bg_image"><bbsh:BBSH name="基本设置"/></li>
			<li id="man_nav_3" onclick="list_sub_nav(id,'<bbsh:BBSH name="账户管理"/>')"  class="bg_image"><bbsh:BBSH name="账户管理"/></li>
			<li id="man_nav_4"  onclick="list_sub_nav(id,'<bbsh:BBSH name="系统管理"/>')"  class="bg_image"><bbsh:BBSH name="系统管理"/></li>
			<!-- <li id="man_nav_5"  onclick="list_sub_nav(id,'<bbsh:BBSH name="广告新闻"/>')"  class="bg_image"><bbsh:BBSH name="广告新闻"/></li> -->
	</ul>
</div>
	<div id="sub_info" class="main_title">
		&nbsp;&nbsp;<img src="images/hi.gif" />
		&nbsp;<span id="show_text" class="main_title"><bbsh:BBSH name="欢迎使用后台管理系统!"/></span>
	
	</div>
</body>
</html>
